Skip to content

[6.4] Fix RegistrationOptions encoding to correctly merge objects#56

Merged
rintaro merged 1 commit into
swiftlang:release/6.4.xfrom
Steffeeen:fix-capability-encoding-6-4
May 27, 2026
Merged

[6.4] Fix RegistrationOptions encoding to correctly merge objects#56
rintaro merged 1 commit into
swiftlang:release/6.4.xfrom
Steffeeen:fix-capability-encoding-6-4

Conversation

@Steffeeen
Copy link
Copy Markdown
Member

@Steffeeen Steffeeen commented May 26, 2026

  • Explanation: Fixes a wrong encoding/decoding behavior of RegistrationOptions that was previously introduced. The correct behavior is to merge the two objects into one instead of having two fields, each containing one of the objects.
  • Scope: RegistrationOptions, used when sending the client/registerCapability request
  • Issues: -
  • Original PRs: Fix RegistrationOptions encoding to correctly merge objects #55
  • Risk: Low. Only affects the types used for the client/registerCapability request
  • Testing: Added additional test cases that cover the changes and prevent future regressions
  • Reviewers: Alex Hoppen (@ahoppen), Rintaro Ishizaki (@rintaro)

The two members of the different `RegistrationOptions` should be
encoded into a single object which contains the members of each of the
two members.
@rintaro
Copy link
Copy Markdown
Member

rintaro commented May 26, 2026

Thank you! Could you write a nomination note using this template as described here?
https://forums.swift.org/t/swift-6-4-release-process/85421#p-392010-pull-requests-for-release-branch-8

@rintaro rintaro merged commit 105ceb4 into swiftlang:release/6.4.x May 27, 2026
52 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants